cmake_minimum_required(VERSION 3.15)

set(PROJECT_NAME x86-elf-parse)
project(${PROJECT_NAME}
        VERSION 1.0.0
        LANGUAGES C
        )

include_directories(inc)
aux_source_directory(src/ APPS_SRC_C)

set(PROJECT_SRC_C ${APPS_SRC_C} main.c)
add_executable(${PROJECT_NAME} ${PROJECT_SRC_C})

target_compile_options(${PROJECT_NAME} PRIVATE 
    -m32
    )
target_link_options(${PROJECT_NAME} PRIVATE 
    -m32
    )
